{extend name="base_iframe" /}


{block name="body"}



		
<div class="row box-ota-info">
	<div class="col-md-12">
		<div class="box-body">
			<div class="col-md-3">

				<div class="box box-primary direct-chat direct-chat-primary">
					<div class="box-header with-border">
						<h3 class="box-title">商品评论回复</h3>

						<div class="box-tools pull-right">
							<button type="button" class="btn btn-box-tool" data-toggle="tooltip" title="Contacts" data-widget="chat-pane-toggle">
								<i class="fa fa-comments"></i></button>
							</div>
						</div>

						<div class="box-body">

							<div class="direct-chat-messages">
								<!-- 评论内容 -->
								<div class="direct-chat-msg">
									<div class="direct-chat-info clearfix">
										<span class="direct-chat-name pull-left">{$info.user_name}</span>
										<span class="direct-chat-timestamp pull-right">{$info.created_time|date="Y-m-d H:i:s",###}</span>
									</div>

									<img class="direct-chat-img" src="__STATIC__/dist/img/user1-128x128.jpg" alt="Message User Image">
									<div class="direct-chat-text">
										{$info.content}
									</div>
								</div>


								<!-- 管理员回复内容 -->
								{if condition="$adminReply"}
									{volist name="adminReply" id="v"  }
									<div class="direct-chat-msg right">
										<div class="direct-chat-info clearfix">
											<span class="direct-chat-name pull-right">管理员</span>
											<span class="direct-chat-timestamp pull-left">{$v.created_time|date="Y-m-d H:i:s",###}</span>
										</div>

										<img class="direct-chat-img" src="__STATIC__/dist/img/user3-128x128.jpg" alt="Message User Image">
										<div class="direct-chat-text">
											{$v.content}
										</div>
									</div>
									{/volist}
								{/if}
							</div>

							<!-- 弹出框 -->
							<div class="direct-chat-contacts">
								<ul class="contacts-list">
									<li>
										<a href="#">
											<img class="contacts-list-img" src="__STATIC__/dist/img/user1-128x128.jpg" alt="User Image">
											<div class="contacts-list-info">
												<span class="contacts-list-name">
													{$info.user_name}
													<small class="contacts-list-date pull-right">{$info.created_time|date="Y-m-d H:i:s",###}</small>
												</span>
												<span class="contacts-list-msg">{$info.content}</span>
											</div>
										</a>
									</li>

									{if condition="$adminReply"}
									{volist name="adminReply" id="v"  }
									<li>
										<a href="#">
											<img class="contacts-list-img" src="__STATIC__/dist/img/user3-128x128.jpg" alt="User Image">
											<div class="contacts-list-info">
												<span class="contacts-list-name">
													管理员
													<small class="contacts-list-date pull-right">{$v.created_time|date="Y-m-d H:i:s",###}</small>
												</span>
												<span class="contacts-list-msg">{$v.content}</span>
											</div>
										</a>
									</li>
									{/volist}
									{/if}
								</ul>
							</div>

						</div>

						<div class="box-footer">
							<form action="#" method="post" class="form-horizontal ajax-form">
								<input type="hidden" name="goods_id" value="{$info.goods_id}">
								<input type="hidden" name="comment_id" value="{$comment_id}">

								<input type="text" name="content" placeholder="请输入回复内容..." class="form-control">
							</form>
						</div>
					</div>

				</div>
			</div>
		</div>
	</div>



{/block}

{block name="script"}
	
{/block}